#ifndef __LAYOUT_H__
#define __LAYOUT_H__
/////////////////
//include
/////////////////
#include<Windows.h>
#include<D3D11.h>
#include<D3DX11.h>
#include<hash_map>
#include"InputElement.h"

/////////////////
//const
/////////////////

/////////////////
//class
/////////////////
class Layout
{
public:

	~Layout();
	void Init();
	D3D11_INPUT_ELEMENT_DESC GetElement(std::string);
	static	Layout* Get();
private:
	std::hash_map<std::string,InputElement> map;
	static  Layout* layout;
	Layout();
	Layout(const Layout& layout);
	Layout& operator =(const Layout& layout);

};
#endif __LAYOUT_H__
